package pl.com.kyhu.dietex3000.main;

import pl.com.kyhu.dietex3000.GUI.MainWindow;
import pl.com.kyhu.dietex3000.database.management.DataManagement;

class Main {
	public static void main(String[] args) {

		appStart();
		DataManagement.shutdown();

	}

	private static void appStart() {
		try {
			new MainWindow();
		} catch (Exception e) {
			e.printStackTrace();
			appStart();
		}
	}

}